package day0910.demo1;

import day0910.demo1.Animal;

/**
 * @Author:galaxy_yan
 * @Date: 2022/9/10
 * @Time: 16:22
 * @Description
 */
public class Cat extends Animal {
    public Cat(String name, int age) {
        super(name, age);
    }

    public void eat(){
        System.out.println("小猫"+name+"在吃猫粮");
    }
    public void mew(){
        System.out.println("小猫"+name+"在喵喵叫");
    }
}
